|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jme3.scene.Spatial
com.jme3.scene.Node
ga.view.streaming.nodes.PanelNode<T>
T - The generic type of the individuals.public class PanelNode<T extends IIndividual<T>>
This is a node that displays a show room as texture.
| Nested Class Summary | |
|---|---|
static class |
PanelNode.InfoStringType
Type of node info to display. |
static class |
PanelNode.Mode
The state of the panel node. |
| Nested classes/interfaces inherited from class com.jme3.scene.Spatial |
|---|
com.jme3.scene.Spatial.BatchHint, com.jme3.scene.Spatial.CullHint |
| Field Summary | |
|---|---|
private AnchorNode<T> |
anchor
|
private com.jme3.bullet.control.RigidBodyControl |
control
|
private float |
fadeSpeed
|
private float |
fadeToAlpha
|
private T |
individual
|
private PanelNode.InfoStringType |
infoStringType
|
private static com.jme3.math.Vector3f |
INSPECT_LOCATION
|
private boolean |
isInitFade
|
private com.jme3.math.Vector3f |
lastLocation
|
private PanelNodeListener<T> |
listener
|
private static java.util.logging.Logger |
LOGGER
|
private com.jme3.material.Material |
mat
|
private float |
materialAlpha
|
private PanelNode.Mode |
mode
|
private OffscreenProcessor |
processor
|
private ShowRoom |
showRoom
|
private com.jme3.math.Vector3f |
targetLocation
|
private float |
x
|
private float |
y
|
private float |
z
|
| Fields inherited from class com.jme3.scene.Node |
|---|
children |
| Fields inherited from class com.jme3.scene.Spatial |
|---|
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_LIGHTLIST, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldTransform |
| Constructor Summary | |
|---|---|
PanelNode(com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings,
ShowRoom showRoom,
CameraSettings camSettings,
T individual)
Instantiates a new panel node. |
|
| Method Summary | |
|---|---|
AnchorNode<T> |
getAnchor()
Gets the anchor. |
com.jme3.bullet.control.RigidBodyControl |
getControl()
Gets the control. |
T |
getIndividual()
Gets the individual. |
OffscreenProcessor |
getProcessor()
Gets the offscreen processor. |
ShowRoom |
getShowRoom()
Gets the show room. |
void |
inspect()
Triggers an inspect event. |
void |
inspectDone()
Triggers an inspect done event. |
void |
setAnchor(AnchorNode<T> anchor)
Sets the anchor. |
void |
setCameraSettings(CameraSettings camSettings)
Sets the camera settings. |
void |
setFadeSpeed(float fadeSpeed)
Sets the fade speed. |
void |
setFadeToAlpha(float alpha)
Triggers fading to a given alpha value. |
void |
setInfoStringType(PanelNode.InfoStringType infoStringType)
Sets the info string type. |
void |
setPanelNodeListener(PanelNodeListener<T> listener)
Sets the panel node listener. |
protected void |
setParent(com.jme3.scene.Node parent)
|
private void |
updateDebugText()
Updates debug text. |
void |
updateLogicalState(float tpf)
|
| Methods inherited from class com.jme3.scene.Node |
|---|
attachChild, attachChildAt, breadthFirstTraversal, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLightListRefresh, setLodLevel, setMaterial, setModelBound, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write |
| Methods inherited from class com.jme3.scene.Spatial |
|---|
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, toString, updateWorldLightList, updateWorldTransforms, worldToLocal |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.util.logging.Logger LOGGER
private static final com.jme3.math.Vector3f INSPECT_LOCATION
private AnchorNode<T extends IIndividual<T>> anchor
private final float x
private final float y
private final float z
private final com.jme3.material.Material mat
private float materialAlpha
private float fadeToAlpha
private final OffscreenProcessor processor
private final ShowRoom showRoom
private float fadeSpeed
private PanelNodeListener<T extends IIndividual<T>> listener
private boolean isInitFade
private com.jme3.math.Vector3f targetLocation
private com.jme3.math.Vector3f lastLocation
private PanelNode.Mode mode
private final T extends IIndividual<T> individual
private final com.jme3.bullet.control.RigidBodyControl control
private PanelNode.InfoStringType infoStringType
| Constructor Detail |
|---|
public PanelNode(com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings,
ShowRoom showRoom,
CameraSettings camSettings,
T individual)
assetManager - the asset managersettings - the settingsshowRoom - the show roomcamSettings - the cam settingsindividual - the individual| Method Detail |
|---|
public void setInfoStringType(PanelNode.InfoStringType infoStringType)
infoStringType - the new info string typeprivate void updateDebugText()
public void setCameraSettings(CameraSettings camSettings)
camSettings - the new camera settingspublic com.jme3.bullet.control.RigidBodyControl getControl()
public ShowRoom getShowRoom()
public void updateLogicalState(float tpf)
updateLogicalState in class com.jme3.scene.Nodepublic void inspect()
public void inspectDone()
protected void setParent(com.jme3.scene.Node parent)
setParent in class com.jme3.scene.Spatialpublic T getIndividual()
public void setPanelNodeListener(PanelNodeListener<T> listener)
listener - the new panel node listenerpublic void setAnchor(AnchorNode<T> anchor)
anchor - the new anchorpublic AnchorNode<T> getAnchor()
public OffscreenProcessor getProcessor()
public void setFadeToAlpha(float alpha)
alpha - the new alphapublic void setFadeSpeed(float fadeSpeed)
fadeSpeed - the new fade speed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||